package cj.web.tb.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * 学校信息登记
 */
public class TBSchoolRegistration extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 8970774353390588304L;
	protected Integer id;
	protected Integer userId;
	protected Integer tbSchoolId;
	protected String presidentName;
	protected String areaName;
	protected String schoolName;
	protected String schoolAddress;
	protected String schoolFile;
	protected String schoolModel;
	protected String classNum;
	protected String presidentPhone;
	protected String presidentTel;
	protected String leaderName;
	protected String leaderPhone;
	protected String leaderTel;
	protected String linkName;
	protected String linkPhone;
	protected String linkTel;
	protected Integer status;
	protected Integer deleteFlag;
	protected String createAt;
	protected String createUser;
	protected String updateAt;
	protected String updateUser;
	
	protected String statusName;
	protected String keywords;
	
	protected String account;
	protected String pwd;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getTbSchoolId() {
		return tbSchoolId;
	}
	public void setTbSchoolId(Integer tbSchoolId) {
		this.tbSchoolId = tbSchoolId;
	}
	public String getPresidentName() {
		return presidentName;
	}
	public void setPresidentName(String presidentName) {
		this.presidentName = presidentName;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public String getSchoolAddress() {
		return schoolAddress;
	}
	public void setSchoolAddress(String schoolAddress) {
		this.schoolAddress = schoolAddress;
	}
	public String getSchoolFile() {
		return schoolFile;
	}
	public void setSchoolFile(String schoolFile) {
		this.schoolFile = schoolFile;
	}
	public String getSchoolModel() {
		return schoolModel;
	}
	public void setSchoolModel(String schoolModel) {
		this.schoolModel = schoolModel;
	}
	public String getClassNum() {
		return classNum;
	}
	public void setClassNum(String classNum) {
		this.classNum = classNum;
	}
	public String getPresidentPhone() {
		return presidentPhone;
	}
	public void setPresidentPhone(String presidentPhone) {
		this.presidentPhone = presidentPhone;
	}
	public String getPresidentTel() {
		return presidentTel;
	}
	public void setPresidentTel(String presidentTel) {
		this.presidentTel = presidentTel;
	}
	public String getLeaderName() {
		return leaderName;
	}
	public void setLeaderName(String leaderName) {
		this.leaderName = leaderName;
	}
	public String getLeaderPhone() {
		return leaderPhone;
	}
	public void setLeaderPhone(String leaderPhone) {
		this.leaderPhone = leaderPhone;
	}
	public String getLeaderTel() {
		return leaderTel;
	}
	public void setLeaderTel(String leaderTel) {
		this.leaderTel = leaderTel;
	}
	public String getLinkName() {
		return linkName;
	}
	public void setLinkName(String linkName) {
		this.linkName = linkName;
	}
	public String getLinkPhone() {
		return linkPhone;
	}
	public void setLinkPhone(String linkPhone) {
		this.linkPhone = linkPhone;
	}
	public String getLinkTel() {
		return linkTel;
	}
	public void setLinkTel(String linkTel) {
		this.linkTel = linkTel;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((account == null) ? 0 : account.hashCode());
		result = prime * result
				+ ((areaName == null) ? 0 : areaName.hashCode());
		result = prime * result
				+ ((classNum == null) ? 0 : classNum.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((keywords == null) ? 0 : keywords.hashCode());
		result = prime * result
				+ ((leaderName == null) ? 0 : leaderName.hashCode());
		result = prime * result
				+ ((leaderPhone == null) ? 0 : leaderPhone.hashCode());
		result = prime * result
				+ ((leaderTel == null) ? 0 : leaderTel.hashCode());
		result = prime * result
				+ ((linkName == null) ? 0 : linkName.hashCode());
		result = prime * result
				+ ((linkPhone == null) ? 0 : linkPhone.hashCode());
		result = prime * result + ((linkTel == null) ? 0 : linkTel.hashCode());
		result = prime * result
				+ ((presidentName == null) ? 0 : presidentName.hashCode());
		result = prime * result
				+ ((presidentPhone == null) ? 0 : presidentPhone.hashCode());
		result = prime * result
				+ ((presidentTel == null) ? 0 : presidentTel.hashCode());
		result = prime * result + ((pwd == null) ? 0 : pwd.hashCode());
		result = prime * result
				+ ((schoolAddress == null) ? 0 : schoolAddress.hashCode());
		result = prime * result
				+ ((schoolFile == null) ? 0 : schoolFile.hashCode());
		result = prime * result
				+ ((schoolModel == null) ? 0 : schoolModel.hashCode());
		result = prime * result
				+ ((schoolName == null) ? 0 : schoolName.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result
				+ ((statusName == null) ? 0 : statusName.hashCode());
		result = prime * result
				+ ((tbSchoolId == null) ? 0 : tbSchoolId.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		TBSchoolRegistration other = (TBSchoolRegistration) obj;
		if (account == null) {
			if (other.account != null)
				return false;
		} else if (!account.equals(other.account))
			return false;
		if (areaName == null) {
			if (other.areaName != null)
				return false;
		} else if (!areaName.equals(other.areaName))
			return false;
		if (classNum == null) {
			if (other.classNum != null)
				return false;
		} else if (!classNum.equals(other.classNum))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (keywords == null) {
			if (other.keywords != null)
				return false;
		} else if (!keywords.equals(other.keywords))
			return false;
		if (leaderName == null) {
			if (other.leaderName != null)
				return false;
		} else if (!leaderName.equals(other.leaderName))
			return false;
		if (leaderPhone == null) {
			if (other.leaderPhone != null)
				return false;
		} else if (!leaderPhone.equals(other.leaderPhone))
			return false;
		if (leaderTel == null) {
			if (other.leaderTel != null)
				return false;
		} else if (!leaderTel.equals(other.leaderTel))
			return false;
		if (linkName == null) {
			if (other.linkName != null)
				return false;
		} else if (!linkName.equals(other.linkName))
			return false;
		if (linkPhone == null) {
			if (other.linkPhone != null)
				return false;
		} else if (!linkPhone.equals(other.linkPhone))
			return false;
		if (linkTel == null) {
			if (other.linkTel != null)
				return false;
		} else if (!linkTel.equals(other.linkTel))
			return false;
		if (presidentName == null) {
			if (other.presidentName != null)
				return false;
		} else if (!presidentName.equals(other.presidentName))
			return false;
		if (presidentPhone == null) {
			if (other.presidentPhone != null)
				return false;
		} else if (!presidentPhone.equals(other.presidentPhone))
			return false;
		if (presidentTel == null) {
			if (other.presidentTel != null)
				return false;
		} else if (!presidentTel.equals(other.presidentTel))
			return false;
		if (pwd == null) {
			if (other.pwd != null)
				return false;
		} else if (!pwd.equals(other.pwd))
			return false;
		if (schoolAddress == null) {
			if (other.schoolAddress != null)
				return false;
		} else if (!schoolAddress.equals(other.schoolAddress))
			return false;
		if (schoolFile == null) {
			if (other.schoolFile != null)
				return false;
		} else if (!schoolFile.equals(other.schoolFile))
			return false;
		if (schoolModel == null) {
			if (other.schoolModel != null)
				return false;
		} else if (!schoolModel.equals(other.schoolModel))
			return false;
		if (schoolName == null) {
			if (other.schoolName != null)
				return false;
		} else if (!schoolName.equals(other.schoolName))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (statusName == null) {
			if (other.statusName != null)
				return false;
		} else if (!statusName.equals(other.statusName))
			return false;
		if (tbSchoolId == null) {
			if (other.tbSchoolId != null)
				return false;
		} else if (!tbSchoolId.equals(other.tbSchoolId))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "TBSchoolRegistration [id=" + id + ", userId=" + userId
				+ ", tbSchoolId=" + tbSchoolId + ", presidentName="
				+ presidentName + ", areaName=" + areaName + ", schoolName="
				+ schoolName + ", schoolAddress=" + schoolAddress
				+ ", schoolFile=" + schoolFile + ", schoolModel=" + schoolModel
				+ ", classNum=" + classNum + ", presidentPhone="
				+ presidentPhone + ", presidentTel=" + presidentTel
				+ ", leaderName=" + leaderName + ", leaderPhone=" + leaderPhone
				+ ", leaderTel=" + leaderTel + ", linkName=" + linkName
				+ ", linkPhone=" + linkPhone + ", linkTel=" + linkTel
				+ ", status=" + status + ", deleteFlag=" + deleteFlag
				+ ", createAt=" + createAt + ", createUser=" + createUser
				+ ", updateAt=" + updateAt + ", updateUser=" + updateUser
				+ ", statusName=" + statusName + ", keywords=" + keywords
				+ ", account=" + account + ", pwd=" + pwd + "]";
	}
}